lcBlockAddImageRef Home

Adds a new image reference object into a block.

 HANDLE lcBlockAddImageRef (
   HANDLE hBlock,
   HANDLE hImage,
   double X,
   double Y,
   double Width,
   double Height,
   BOOL bBorder
 );

Parameters
hBlock
  Handle to a block.
hImage
  Handle to the image definition.
X Y
  Coordinates of image insertion. Left bottom corner of the image will be placed at this coordinate.
Width Height
  Image size. In order to keep original proportions, specify only one dimension, setting zero for other.
bBorder
  If TRUE, then the image will have a border lines.

Return Value

  Handle to created image reference object or NULL if the function fails.

See Also

  Code sample,   Image definition